This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Type mismatch driving me craze ~Pippy Nongerovitchli 19.Dec.03 06:40 PM a Web browser Domino Designer All ReleasesAll Platforms
Greg,
You don't say which line is generating the Type Mismatch, but I'm guessing it is this line:
Dim db4 As New NotesDatabase( mailbox,mailfile )
I think there is some extraneous code here since you end up getting db4 as your currentDatabase. Try this:
Dim db4 As NotesDatabase
Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim uidoc As NotesUIDocument
Set db4 = session.CurrentDatabase
Set uidoc = workspace.CurrentDocument
' find the size of the user's mail database
size4 = db4.Size /1054000
Call uidoc.FieldSetText( "Display_Sz", Cstr(size4) )